﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QuanLyHoTich.App_Code.Logic;

namespace QuanLyHoTich.App_Code.Process
{
    class HuyenProcess
    {
        HuyenLogic logic = new HuyenLogic();

        /// <summary>
        /// Lấy danh sách tỉnh
        /// </summary>
        /// <returns></returns>
        public DataTable DanhSachHuyen()
        {
            return logic.LayDanhSachBangHuyen();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public DataTable DanhSachHuyenTheoTinh(string strMaTinh)
        {
            return logic.LayDanhSachBangHuyenTheoTinh(strMaTinh);
        }

        /// <summary>
        /// Lấy cấu trúc bảng
        /// </summary>
        /// <returns></returns>
        public DataTable CauTrucBang()
        {
            return logic.LayCauTrucBangHuyen();
        }
    }
}
